#ifndef REGULAREXPRESSIONS_GROUP_H
#define REGULAREXPRESSIONS_GROUP_H

#include <string>
#include <cstring>


namespace RegularExpressions
{
	class Group
	{
		private:
		
		int					_start;
		int					_end;
		std::string			_value;
		
		Group();
		Group(int start, int end, const std::string& value);
		
		
		public:
		
		int start() const;
		int end() const;
		const std::string& value() const;
		
		
		friend class Regex;
		friend class Match;
	};
}


#endif


